<?php

namespace App\Http\Controllers\DesignPattern\Creational\Structural;

use App\Model\DesignPattern\Creational\Structural\Facade\Computer;
use App\Model\DesignPattern\Creational\Structural\Facade\ComputerFacade;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class FacadeController extends Controller
{
    public function index()
    {
        $res = new ComputerFacade(new Computer());
        return $res->turnOff();
    }
}
